package cqut.gbq.qimo.service;

import cqut.gbq.qimo.entity.Assignment;
import cqut.gbq.qimo.entity.ResBean;

import java.util.List;

/**
 * @author leo
 * @create 2021-06-211:07
 */
public interface AssignmentService {
    ResBean getAssignmentDetail(Integer aid);

    List<Assignment> findAssignmentsByCid(Integer cid);

    ResBean createAssignment(Assignment assignment);

    Integer findAid(Assignment assignment);

    ResBean getAssignmentByAid(Integer aid);

    ResBean editScore(Integer sid, Integer aid, Integer score,Integer ischeck);

    boolean deleteAssignmentByAid(Integer aid);

    Integer editAssignment(Assignment assignment);
}
